package com.eascs.finance.admin.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the article_item database table.
 * 
 */
@Entity
@Table(name="article_item")
@NamedQuery(name="ArticleItemEntity.findAll", query="SELECT a FROM ArticleItemEntity a")
public class ArticleItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	private String creator;

	@Column(name="is_lock")
	private int isLock;

	@Column(name="item_code")
	private String itemCode;

	@Column(name="item_name")
	private String itemName;

	@Column(name="item_seo_desc")
	private String itemSeoDesc;

	@Column(name="item_seo_keywords")
	private String itemSeoKeywords;

	@Column(name="item_seo_title")
	private String itemSeoTitle;

	@Column(name="item_url")
	private String itemUrl;

	@Column(name="parent_id")
	private String parentId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="publish_time")
	private Date publishTime;

	private String publisher;

	private int rank;

	private int status;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;

	private String updater;

	public ArticleItemEntity() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public int getIsLock() {
		return this.isLock;
	}

	public void setIsLock(int isLock) {
		this.isLock = isLock;
	}

	public String getItemCode() {
		return this.itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return this.itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemSeoDesc() {
		return this.itemSeoDesc;
	}

	public void setItemSeoDesc(String itemSeoDesc) {
		this.itemSeoDesc = itemSeoDesc;
	}

	public String getItemSeoKeywords() {
		return this.itemSeoKeywords;
	}

	public void setItemSeoKeywords(String itemSeoKeywords) {
		this.itemSeoKeywords = itemSeoKeywords;
	}

	public String getItemSeoTitle() {
		return this.itemSeoTitle;
	}

	public void setItemSeoTitle(String itemSeoTitle) {
		this.itemSeoTitle = itemSeoTitle;
	}

	public String getItemUrl() {
		return this.itemUrl;
	}

	public void setItemUrl(String itemUrl) {
		this.itemUrl = itemUrl;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Date getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public String getPublisher() {
		return this.publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public int getRank() {
		return this.rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdater() {
		return this.updater;
	}

	public void setUpdater(String updater) {
		this.updater = updater;
	}

}